package com.hnust.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hnust.entity.Position;
import com.hnust.entity.dto.DeviceDto;
import com.hnust.entity.dto.PositionDto;
import com.hnust.entity.dto.TreeNodeDto;

import java.util.List;

/**
 * 创建人：zhangRuWang
 * 创建时间：2022/5/5
 * 描述：
 */
public interface PositionService extends IService<Position> {
    List<PositionDto> positionList();

    void positionToDto(PositionDto positionDto, Position position);

    List<String> positionCodeToList(Integer regionCode,Integer buildCode,
                                    Integer floorCode,Integer roomCode);

    List<DeviceDto> positionListDevice(Integer regionCode, Integer buildCode,
                                       Integer floorCode, Integer roomCode);

    List<TreeNodeDto> positionTreeList();
}
